/*!
 * Polkascan Explorer UI
 * Copyright (C) 2018-2022 Polkascan Foundation (NL)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

table {
  width: 100%;
}

.account-address {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.account-address-identicon {
  padding: 0.5rem;
}

.account-address-readable {
  font-size: 120%;
}

.account-address-ss58,
.account-name {
  color: #000;
  opacity: 66%;
  filter: grayscale(1);
  vertical-align: middle;
}

.account-badge {
  vertical-align: middle;
  margin-right: 0.2rem;
}

.account-judgement-unknown {
  filter: grayscale(1);
  opacity: 0.7;
}

.account-judgement-isGood {
  .account-name {
    opacity: 1;
  }
  .account-badge {
    color: var(--ps-badge-good-color);
  }
}

.account-judgement-isBad {
  .account-badge {
    color: var(--ps-badge-bad-color);
  }
}

